{extend name="Public:base"/}

{block name="main"}
<div class="box-info">
    <form action="{:U('Shipping/add')}" method="post">
        <div class="form-group row">
            <label class="col-md-2 text-right">配送方式名称：</label>
            <div class="col-md-5">
                <input type="text" class="form-control" name="name" value="{$vo.name}"  validate="required:true,minlength:1, maxlength:40" />
            </div>
        </div>

        <div class="form-group row">
            <label class="col-md-2 text-right">简介</label>
            <div class="col-md-5">
                <textarea name="description" rows="4" cols="50" class="form-control"></textarea>
            </div>
        </div>
        <div class="form-group row">
            <label class="col-md-2 text-right">排序</label>
            <div class="col-md-5">
                <input type="text" name="listorder" value="" class="form-control" id="listorder" size="3" />
            </div>
        </div>
        <div class="form-group row">
            <label class="col-md-2 text-right">状态：</label>
            <div class="col-md-5">
                <input name="status"  value="0" type="radio" checked>  {:L('disable')}
                <input name="status" value="1" type="radio">  {:L('enable')}
            </div>
        </div>

        <div class="form-group row">
            <div class="col-md-5 offset-2">
                <input type="hidden" name="forward" value="{$_SERVER['HTTP_REFERER']}" />
                <button type="submit" class="btn btn-primary ajax_form_add">{:L('dosubmit')}</button>
                <button type="reset" class="btn btn-success">{:L('reset')}</button>
            </div>
        </div>
    </form>
</div>

{/block}